package top.itlir.edc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import top.itlir.edc.dao.TakeTimeRepository;
import top.itlir.edc.domain.TakeTime;
import top.itlir.edc.service.TakeTimeService;

@Service
@Transactional
public class TakeTimeServiceImpl implements TakeTimeService {
	
	@Autowired
	private TakeTimeRepository takeTimeRepository;

	@Override
	public List<TakeTime> findAll() {
		List<TakeTime> findAll = takeTimeRepository.findAll();
		System.out.println("impl = "  + findAll);
		return findAll;
	}
	
	

}
